﻿@model Orange.Mvc4App.Models.Group
@{
    ViewBag.Title = "Create";
}
<h2>
    新增分组</h2>
<div class="doc">
    @if (Model != null) {
        using (Html.BeginForm()) {
        @Html.ValidationSummary(false)
        <table>
            <tr>
                <th>
                    分组编号
                </th>
                <td>
                    @Html.EditorFor(c => c.Groupid)
                </td>
                <th>
                    分组名称
                </th>
                <td>
                    @Html.EditorFor(c => c.Groupname)
                </td>
            </tr>
            <tr>
                <th>
                    状态
                </th>
                <td>
                    @Html.DropDownList("status", Content.GetStatus("A"))
                </td>
                <th>
                </th>
                <td>
                </td>
            </tr>
        </table>
        <p class="center">
            <input type="submit" value="提交" />
            <input type="button" value="返回" onclick="window.location='@Url.Action("Index", "Group")'" />
        </p>
        }
    }
</div>
